<div id="wrapper-content" style="width: 600px;">
    <table class="titrepage" width="100%">
        <tr>
            <td >La liste des text</td>
            <td align="right">Total | <?php echo $total ?> </td>
        </tr>
    </table>
    <table align="center" width="100%" class="list">
        <thead>
            <tr>
                <th>Paragraph</th>
                <th>Page Title</th>
                <th>Text</th>
                <th colspan="2">Action</th>
            </tr>
        </thead>
        <?php for($i=0;$i<count($all_text);$i++):
            $paragraph = $i+1;
        ?>
         <tr>
                    <td><?php echo $paragraph; ?></td>
                    <td><?php echo $all_text[$i]['page_title']; ?></td>
                    <td><?php echo get_short_description($all_text[$i]['para_text'],20) ?></td>
                   <td width="70px"><a  href="<?php echo site_url('text/edit_text') . '/' .$all_text[$i]['id_text'].'/'. $all_text[$i]['id'].'/'.$paragraph; ?>" ><img border="0"src="<?php echo base_url() . 'assets/admin/' ?>images/modifier.png"/></a></td>
        </tr>
        <?php endfor; ?>
            </table>
    
</div>
<!--END wrapper-content-->
